home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / prog_bas / vbwarn.zip / VBWARN.FRM < prev    next >
Text File  |  1996-01-04  |  82KB  |  2,282 lines

  1. VERSION 2.00
  2. Begin Form VBWarn 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Warning Ticket System"
  6.    ClientHeight    =   6285
  7.    ClientLeft      =   165
  8.    ClientTop       =   795
  9.    ClientWidth     =   9255
  10.    ForeColor       =   &H00000040&
  11.    Height          =   6975
  12.    Icon            =   VBWARN.FRX:0000
  13.    Left            =   105
  14.    LinkTopic       =   "Form1"
  15.    MaxButton       =   0   'False
  16.    ScaleHeight     =   6285
  17.    ScaleWidth      =   9255
  18.    Top             =   165
  19.    Width           =   9375
  20.    Begin TextBox txtComm 
  21.       DataField       =   "Comment"
  22.       DataSource      =   "dtaWarning"
  23.       Height          =   285
  24.       Left            =   1500
  25.       TabIndex        =   133
  26.       Text            =   "Text3"
  27.       Top             =   2040
  28.       Visible         =   0   'False
  29.       Width           =   180
  30.    End
  31.    Begin CommandButton cmdComm 
  32.       Caption         =   "Comments"
  33.       Height          =   315
  34.       Left            =   180
  35.       TabIndex        =   132
  36.       Top             =   2040
  37.       Width           =   1575
  38.    End
  39.    Begin SSFrame Frame3D4 
  40.       ForeColor       =   &H00000000&
  41.       Height          =   915
  42.       Left            =   60
  43.       ShadowColor     =   1  'Black
  44.       TabIndex        =   129
  45.       Top             =   5340
  46.       Width           =   9075
  47.       Begin TextBox txtJumpTo 
  48.          BackColor       =   &H00C0C0C0&
  49.          Height          =   315
  50.          Left            =   5640
  51.          TabIndex        =   70
  52.          Top             =   180
  53.          Width           =   3315
  54.       End
  55.       Begin CommandButton cmdJumpTo 
  56.          Caption         =   "&Jump To:"
  57.          Height          =   315
  58.          Left            =   4620
  59.          TabIndex        =   71
  60.          Top             =   180
  61.          Width           =   975
  62.       End
  63.       Begin ComboBox cmbSortBy 
  64.          BackColor       =   &H00C0C0C0&
  65.          Height          =   300
  66.          Left            =   900
  67.          TabIndex        =   68
  68.          Top             =   180
  69.          Width           =   3495
  70.       End
  71.       Begin Data dtaWarning 
  72.          BackColor       =   &H00C0C0C0&
  73.          Caption         =   "Warning Tickets"
  74.          Connect         =   ""
  75.          DatabaseName    =   "VBWARN.MDB"
  76.          Exclusive       =   0   'False
  77.          Height          =   315
  78.          Left            =   120
  79.          Options         =   0
  80.          ReadOnly        =   0   'False
  81.          RecordSource    =   "TikPerson"
  82.          Top             =   540
  83.          Width           =   4275
  84.       End
  85.       Begin CommandButton cmdDelete 
  86.          BackColor       =   &H00C0C0C0&
  87.          Caption         =   "&Delete"
  88.          Height          =   315
  89.          Left            =   5760
  90.          TabIndex        =   69
  91.          Top             =   540
  92.          Width           =   915
  93.       End
  94.       Begin CommandButton cmdSave 
  95.          BackColor       =   &H00C0C0C0&
  96.          Caption         =   "&Save"
  97.          Height          =   315
  98.          Left            =   6900
  99.          TabIndex        =   64
  100.          Top             =   540
  101.          Width           =   915
  102.       End
  103.       Begin CommandButton cmdNew 
  104.          BackColor       =   &H00C0C0C0&
  105.          Caption         =   "&New"
  106.          Height          =   315
  107.          Left            =   4620
  108.          TabIndex        =   66
  109.          Top             =   540
  110.          Width           =   915
  111.       End
  112.       Begin CommandButton cmdCancel 
  113.          BackColor       =   &H00004080&
  114.          Caption         =   "&Cancel"
  115.          Height          =   315
  116.          Left            =   8040
  117.          TabIndex        =   65
  118.          Top             =   540
  119.          Width           =   915
  120.       End
  121.       Begin Label lblSortBy 
  122.          BackColor       =   &H00C0C0C0&
  123.          Caption         =   "Sort &By:"
  124.          Height          =   195
  125.          Left            =   120
  126.          TabIndex        =   67
  127.          Top             =   180
  128.          Width           =   735
  129.       End
  130.    End
  131.    Begin TextBox txtOffID 
  132.       DataField       =   "OfficerID"
  133.       DataSource      =   "dtaWarning"
  134.       Height          =   285
  135.       Left            =   7800
  136.       TabIndex        =   128
  137.       Top             =   4920
  138.       Visible         =   0   'False
  139.       Width           =   195
  140.    End
  141.    Begin ComboBox cmbOfficer 
  142.       BackColor       =   &H00C0C0C0&
  143.       Height          =   300
  144.       Left            =   4980
  145.       TabIndex        =   63
  146.       Top             =   4920
  147.       Width           =   4095
  148.    End
  149.    Begin SSFrame Frame3D3 
  150.       ForeColor       =   &H00000000&
  151.       Height          =   1035
  152.       Left            =   2760
  153.       TabIndex        =   0
  154.       Top             =   1980
  155.       Width           =   6315
  156.       Begin TextBox txtLocation 
  157.          DataField       =   "Location"
  158.          DataSource      =   "dtaWarning"
  159.          ForeColor       =   &H00FF0000&
  160.          Height          =   285
  161.          Left            =   960
  162.          TabIndex        =   11
  163.          Top             =   720
  164.          Width           =   5235
  165.       End
  166.       Begin TextBox txtPlate 
  167.          BackColor       =   &H00FFFFFF&
  168.          DataField       =   "Plate"
  169.          DataSource      =   "dtaWarning"
  170.          ForeColor       =   &H00FF0000&
  171.          Height          =   285
  172.          Left            =   960
  173.          TabIndex        =   5
  174.          Top             =   120
  175.          Width           =   1635
  176.       End
  177.       Begin TextBox txtPlateSt 
  178.          BackColor       =   &H00FFFFFF&
  179.          DataField       =   "PlateSt"
  180.          DataSource      =   "dtaWarning"
  181.          ForeColor       =   &H00FF0000&
  182.          Height          =   285
  183.          Left            =   3360
  184.          TabIndex        =   6
  185.          Top             =   120
  186.          Width           =   435
  187.       End
  188.       Begin TextBox txtColor 
  189.          BackColor       =   &H00FFFFFF&
  190.          DataField       =   "Color"
  191.          DataSource      =   "dtaWarning"
  192.          ForeColor       =   &H00FF0000&
  193.          Height          =   285
  194.          Left            =   5040
  195.          TabIndex        =   7
  196.          Top             =   120
  197.          Width           =   1155
  198.       End
  199.       Begin TextBox txtMake 
  200.          BackColor       =   &H00FFFFFF&
  201.          DataField       =   "Make"
  202.          DataSource      =   "dtaWarning"
  203.          ForeColor       =   &H00FF0000&
  204.          Height          =   285
  205.          Left            =   960
  206.          TabIndex        =   8
  207.          Top             =   420
  208.          Width           =   1635
  209.       End
  210.       Begin TextBox txtModel 
  211.          BackColor       =   &H00FFFFFF&
  212.          DataField       =   "Model"
  213.          DataSource      =   "dtaWarning"
  214.          ForeColor       =   &H00FF0000&
  215.          Height          =   285
  216.          Left            =   3360
  217.          TabIndex        =   9
  218.          Top             =   420
  219.          Width           =   1155
  220.       End
  221.       Begin TextBox txtYear 
  222.          BackColor       =   &H00FFFFFF&
  223.          DataField       =   "Year"
  224.          DataSource      =   "dtaWarning"
  225.          ForeColor       =   &H00FF0000&
  226.          Height          =   285
  227.          Left            =   5040
  228.          TabIndex        =   10
  229.          Top             =   420
  230.          Width           =   615
  231.       End
  232.       Begin Label Label50 
  233.          BackColor       =   &H00C0C0C0&
  234.          Caption         =   "Location:"
  235.          Height          =   195
  236.          Left            =   120
  237.          TabIndex        =   131
  238.          Top             =   780
  239.          Width           =   855
  240.       End
  241.       Begin Label Label8 
  242.          BackColor       =   &H00C0C0C0&
  243.          Caption         =   "Plate:"
  244.          Height          =   255
  245.          Left            =   420
  246.          TabIndex        =   73
  247.          Top             =   120
  248.          Width           =   555
  249.       End
  250.       Begin Label Label9 
  251.          BackColor       =   &H00C0C0C0&
  252.          Caption         =   "State:"
  253.          Height          =   255
  254.          Left            =   2760
  255.          TabIndex        =   74
  256.          Top             =   120
  257.          Width           =   555
  258.       End
  259.       Begin Label Label10 
  260.          BackColor       =   &H00C0C0C0&
  261.          Caption         =   "Color:"
  262.          Height          =   255
  263.          Left            =   4500
  264.          TabIndex        =   75
  265.          Top             =   120
  266.          Width           =   555
  267.       End
  268.       Begin Label Label11 
  269.          BackColor       =   &H00C0C0C0&
  270.          Caption         =   "Make:"
  271.          Height          =   255
  272.          Left            =   420
  273.          TabIndex        =   76
  274.          Top             =   420
  275.          Width           =   555
  276.       End
  277.       Begin Label Label12 
  278.          BackColor       =   &H00C0C0C0&
  279.          Caption         =   "Model:"
  280.          Height          =   255
  281.          Left            =   2760
  282.          TabIndex        =   77
  283.          Top             =   420
  284.          Width           =   615
  285.       End
  286.       Begin Label Label13 
  287.          BackColor       =   &H00C0C0C0&
  288.          Caption         =   "Year:"
  289.          Height          =   255
  290.          Left            =   4560
  291.          TabIndex        =   78
  292.          Top             =   420
  293.          Width           =   495
  294.       End
  295.    End
  296.    Begin PictureBox picTabs 
  297.       BackColor       =   &H00C0C0C0&
  298.       BorderStyle     =   0  'None
  299.       Height          =   495
  300.       Left            =   180
  301.       Picture         =   VBWARN.FRX:0302
  302.       ScaleHeight     =   495
  303.       ScaleWidth      =   1935
  304.       TabIndex        =   98
  305.       Top             =   2580
  306.       Width           =   1935
  307.       Begin SSFrame Frame3D1 
  308.          Caption         =   "Frame3D1"
  309.          Height          =   1875
  310.          Left            =   0
  311.          TabIndex        =   124
  312.          Top             =   480
  313.          Width           =   6795
  314.       End
  315.       Begin Line Line2 
  316.          X1              =   0
  317.          X2              =   0
  318.          Y1              =   480
  319.          Y2              =   2340
  320.       End
  321.       Begin Line Line1 
  322.          X1              =   0
  323.          X2              =   0
  324.          Y1              =   480
  325.          Y2              =   2400
  326.       End
  327.       Begin Label lblPage2 
  328.          Alignment       =   2  'Center
  329.          BackColor       =   &H00C0C0C0&
  330.          Caption         =   "Page &2"
  331.          Height          =   255
  332.          Left            =   960
  333.          TabIndex        =   38
  334.          Top             =   60
  335.          Width           =   915
  336.       End
  337.       Begin Label lblPage1 
  338.          Alignment       =   2  'Center
  339.          BackColor       =   &H00C0C0C0&
  340.          Caption         =   "Page &1"
  341.          Height          =   375
  342.          Left            =   60
  343.          TabIndex        =   12
  344.          Top             =   60
  345.          Width           =   855
  346.       End
  347.    End
  348.    Begin SSFrame Frame3D2 
  349.       Height          =   1515
  350.       Left            =   180
  351.       ShadowColor     =   1  'Black
  352.       TabIndex        =   79
  353.       Top             =   420
  354.       Width           =   8895
  355.       Begin Data dtaPerson 
  356.          Caption         =   "dtaPerson"
  357.          Connect         =   ""
  358.          DatabaseName    =   "vbwarn.mdb"
  359.          Exclusive       =   0   'False
  360.          Height          =   270
  361.          Left            =   360
  362.          Options         =   0
  363.          ReadOnly        =   0   'False
  364.          RecordSource    =   "Person"
  365.          Top             =   1140
  366.          Visible         =   0   'False
  367.          Width           =   1140
  368.       End
  369.       Begin TextBox txtID 
  370.          DataField       =   "PersonID"
  371.          DataSource      =   "dtaWarning"
  372.          Enabled         =   0   'False
  373.          Height          =   285
  374.          Left            =   2400
  375.          TabIndex        =   80
  376.          Top             =   1140
  377.          Visible         =   0   'False
  378.          Width           =   195
  379.       End
  380.       Begin CommandButton cmbNewPerson 
  381.          BackColor       =   &H00C0C0C0&
  382.          Caption         =   "New &Person"
  383.          Height          =   315
  384.          Left            =   7320
  385.          TabIndex        =   4
  386.          Top             =   1140
  387.          Width           =   1455
  388.       End
  389.       Begin ComboBox cmbPerson 
  390.          BackColor       =   &H00C0C0C0&
  391.          ForeColor       =   &H00000000&
  392.          Height          =   300
  393.          Left            =   120
  394.          Sorted          =   -1  'True
  395.          TabIndex        =   3
  396.          Top             =   1140
  397.          Width           =   3255
  398.       End
  399.       Begin Label lblSex 
  400.          BackColor       =   &H00E0FFFF&
  401.          BorderStyle     =   1  'Fixed Single
  402.          DataField       =   "Sex"
  403.          DataSource      =   "dtaPerson"
  404.          Height          =   195
  405.          Left            =   8460
  406.          TabIndex        =   81
  407.          Top             =   900
  408.          Width           =   315
  409.       End
  410.       Begin Label Label24 
  411.          BackColor       =   &H00C0C0C0&
  412.          Caption         =   "Sex:"
  413.          Height          =   255
  414.          Left            =   8040
  415.          TabIndex        =   82
  416.          Top             =   840
  417.          Width           =   435
  418.       End
  419.       Begin Label lblEyes 
  420.          BackColor       =   &H00E0FFFF&
  421.          BorderStyle     =   1  'Fixed Single
  422.          DataField       =   "Eyes"
  423.          DataSource      =   "dtaPerson"
  424.          Height          =   195
  425.          Left            =   7140
  426.          TabIndex        =   83
  427.          Top             =   900
  428.          Width           =   795
  429.       End
  430.       Begin Label lblDOB 
  431.          BackColor       =   &H00E0FFFF&
  432.          BorderStyle     =   1  'Fixed Single
  433.          DataField       =   "DOB"
  434.          DataSource      =   "dtaPerson"
  435.          Height          =   195
  436.          Left            =   7140
  437.          TabIndex        =   84
  438.          Top             =   660
  439.          Width           =   915
  440.       End
  441.       Begin Label lblZip 
  442.          BackColor       =   &H00E0FFFF&
  443.          BorderStyle     =   1  'Fixed Single
  444.          DataField       =   "Zip"
  445.          DataSource      =   "dtaPerson"
  446.          Height          =   195
  447.          Left            =   7140
  448.          TabIndex        =   85
  449.          Top             =   420
  450.          Width           =   795
  451.       End
  452.       Begin Label lblInitial 
  453.          BackColor       =   &H00E0FFFF&
  454.          BorderStyle     =   1  'Fixed Single
  455.          DataField       =   "Initial"
  456.          DataSource      =   "dtaPerson"
  457.          Height          =   195
  458.          Left            =   7140
  459.          TabIndex        =   86
  460.          Top             =   180
  461.          Width           =   435
  462.       End
  463.       Begin Label Label15 
  464.          BackColor       =   &H00C0C0C0&
  465.          Caption         =   "Init:"
  466.          Height          =   255
  467.          Left            =   6780
  468.          TabIndex        =   87
  469.          Top             =   180
  470.          Width           =   375
  471.       End
  472.       Begin Label Label19 
  473.          BackColor       =   &H00C0C0C0&
  474.          Caption         =   "Zip:"
  475.          Height          =   195
  476.          Left            =   6780
  477.          TabIndex        =   88
  478.          Top             =   420
  479.          Width           =   375
  480.       End
  481.       Begin Label Label23 
  482.          BackColor       =   &H00C0C0C0&
  483.          Caption         =   "DOB:"
  484.          Height          =   195
  485.          Left            =   6660
  486.          TabIndex        =   89
  487.          Top             =   660
  488.          Width           =   495
  489.       End
  490.       Begin Label Label30 
  491.          BackColor       =   &H00C0C0C0&
  492.          Caption         =   "Eyes:"
  493.          Height          =   195
  494.          Left            =   6600
  495.          TabIndex        =   90
  496.          Top             =   900
  497.          Width           =   555
  498.       End
  499.       Begin Label lblHair 
  500.          BackColor       =   &H00E0FFFF&
  501.          BorderStyle     =   1  'Fixed Single
  502.          DataField       =   "Hair"
  503.          DataSource      =   "dtaPerson"
  504.          Height          =   195
  505.          Left            =   5760
  506.          TabIndex        =   91
  507.          Top             =   900
  508.          Width           =   675
  509.       End
  510.       Begin Label lblDlType 
  511.          BackColor       =   &H00E0FFFF&
  512.          BorderStyle     =   1  'Fixed Single
  513.          DataField       =   "DLType"
  514.          DataSource      =   "dtaPerson"
  515.          Height          =   195
  516.          Left            =   5760
  517.          TabIndex        =   92
  518.          Top             =   660
  519.          Width           =   795
  520.       End
  521.       Begin Label lblState 
  522.          BackColor       =   &H00E0FFFF&
  523.          BorderStyle     =   1  'Fixed Single
  524.          DataField       =   "State"
  525.          DataSource      =   "dtaPerson"
  526.          Height          =   195
  527.          Left            =   5760
  528.          TabIndex        =   93
  529.          Top             =   420
  530.          Width           =   555
  531.       End
  532.       Begin Label lblFName 
  533.          BackColor       =   &H00E0FFFF&
  534.          BorderStyle     =   1  'Fixed Single
  535.          DataField       =   "FName"
  536.          DataSource      =   "dtaPerson"
  537.          Height          =   195
  538.          Left            =   5760
  539.          TabIndex        =   94
  540.          Top             =   180
  541.          Width           =   915
  542.       End
  543.       Begin Label Label14 
  544.          BackColor       =   &H00C0C0C0&
  545.          Caption         =   "First:"
  546.          Height          =   255
  547.          Left            =   5280
  548.          TabIndex        =   95
  549.          Top             =   180
  550.          Width           =   495
  551.       End
  552.       Begin Label Label18 
  553.          BackColor       =   &H00C0C0C0&
  554.          Caption         =   "State:"
  555.          Height          =   255
  556.          Left            =   5220
  557.          TabIndex        =   96
  558.          Top             =   420
  559.          Width           =   555
  560.       End
  561.       Begin Label Label22 
  562.          BackColor       =   &H00C0C0C0&
  563.          Caption         =   "Type:"
  564.          Height          =   195
  565.          Left            =   5220
  566.          TabIndex        =   97
  567.          Top             =   660
  568.          Width           =   555
  569.       End
  570.       Begin Label Label29 
  571.          BackColor       =   &H00C0C0C0&
  572.          Caption         =   "Hair:"
  573.          Height          =   195
  574.          Left            =   5280
  575.          TabIndex        =   103
  576.          Top             =   900
  577.          Width           =   495
  578.       End
  579.       Begin Label lblWeight 
  580.          BackColor       =   &H00E0FFFF&
  581.          BorderStyle     =   1  'Fixed Single
  582.          DataField       =   "Weight"
  583.          DataSource      =   "dtaPerson"
  584.          Height          =   195
  585.          Left            =   3720
  586.          TabIndex        =   104
  587.          Top             =   900
  588.          Width           =   495
  589.       End
  590.       Begin Label lblDlSt 
  591.          BackColor       =   &H00E0FFFF&
  592.          BorderStyle     =   1  'Fixed Single
  593.          DataField       =   "DlSt"
  594.          DataSource      =   "dtaPerson"
  595.          Height          =   195
  596.          Left            =   3720
  597.          TabIndex        =   105
  598.          Top             =   660
  599.          Width           =   555
  600.       End
  601.       Begin Label lblCity 
  602.          BackColor       =   &H00E0FFFF&
  603.          BorderStyle     =   1  'Fixed Single
  604.          DataField       =   "City"
  605.          DataSource      =   "dtaPerson"
  606.          Height          =   195
  607.          Left            =   3720
  608.          TabIndex        =   106
  609.          Top             =   420
  610.          Width           =   1455
  611.       End
  612.       Begin Label lblLName 
  613.          BackColor       =   &H00E0FFFF&
  614.          BorderStyle     =   1  'Fixed Single
  615.          DataField       =   "LName"
  616.          DataSource      =   "dtaPerson"
  617.          Height          =   195
  618.          Left            =   3720
  619.          TabIndex        =   107
  620.          Top             =   180
  621.          Width           =   1455
  622.       End
  623.       Begin Label Label1 
  624.          BackColor       =   &H00C0C0C0&
  625.          Caption         =   "Ticket #"
  626.          Height          =   255
  627.          Left            =   4860
  628.          TabIndex        =   108
  629.          Top             =   -180
  630.          Width           =   735
  631.       End
  632.       Begin Label Label52 
  633.          BackColor       =   &H00C0C0C0&
  634.          Caption         =   "Last:"
  635.          Height          =   255
  636.          Left            =   3180
  637.          TabIndex        =   109
  638.          Top             =   180
  639.          Width           =   495
  640.       End
  641.       Begin Label Label17 
  642.          BackColor       =   &H00C0C0C0&
  643.          Caption         =   "City:"
  644.          Height          =   255
  645.          Left            =   3240
  646.          TabIndex        =   110
  647.          Top             =   420
  648.          Width           =   495
  649.       End
  650.       Begin Label Label21 
  651.          BackColor       =   &H00C0C0C0&
  652.          Caption         =   "State:"
  653.          Height          =   255
  654.          Left            =   3120
  655.          TabIndex        =   111
  656.          Top             =   660
  657.          Width           =   555
  658.       End
  659.       Begin Label Label28 
  660.          BackColor       =   &H00C0C0C0&
  661.          Caption         =   "Weight:"
  662.          Height          =   255
  663.          Left            =   3000
  664.          TabIndex        =   112
  665.          Top             =   900
  666.          Width           =   735
  667.       End
  668.       Begin Label lblInches 
  669.          BackColor       =   &H00E0FFFF&
  670.          BorderStyle     =   1  'Fixed Single
  671.          DataField       =   "Inches"
  672.          DataSource      =   "dtaPerson"
  673.          Height          =   195
  674.          Left            =   1500
  675.          TabIndex        =   113
  676.          Top             =   900
  677.          Width           =   315
  678.       End
  679.       Begin Label lblFeet 
  680.          BackColor       =   &H00E0FFFF&
  681.          BorderStyle     =   1  'Fixed Single
  682.          DataField       =   "Feet"
  683.          DataSource      =   "dtaPerson"
  684.          Height          =   195
  685.          Left            =   900
  686.          TabIndex        =   114
  687.          Top             =   900
  688.          Width           =   375
  689.       End
  690.       Begin Label lblDL 
  691.          BackColor       =   &H00E0FFFF&
  692.          BorderStyle     =   1  'Fixed Single
  693.          DataField       =   "DL"
  694.          DataSource      =   "dtaPerson"
  695.          Height          =   195
  696.          Left            =   900
  697.          TabIndex        =   115
  698.          Top             =   660
  699.          Width           =   2115
  700.       End
  701.       Begin Label lblAddress 
  702.          BackColor       =   &H00E0FFFF&
  703.          BorderStyle     =   1  'Fixed Single
  704.          DataField       =   "Address"
  705.          DataSource      =   "dtaPerson"
  706.          Height          =   195
  707.          Left            =   900
  708.          TabIndex        =   116
  709.          Top             =   420
  710.          Width           =   2115
  711.       End
  712.       Begin Label lblID 
  713.          BackColor       =   &H00E0FFFF&
  714.          BorderStyle     =   1  'Fixed Single
  715.          DataField       =   "ID"
  716.          DataSource      =   "dtaPerson"
  717.          ForeColor       =   &H00000000&
  718.          Height          =   195
  719.          Left            =   900
  720.          TabIndex        =   117
  721.          Top             =   180
  722.          Width           =   1275
  723.       End
  724.       Begin Label Label38 
  725.          BackColor       =   &H00C0C0C0&
  726.          Caption         =   "ID:"
  727.          Height          =   255
  728.          Left            =   540
  729.          TabIndex        =   118
  730.          Top             =   180
  731.          Width           =   315
  732.       End
  733.       Begin Label Label37 
  734.          BackColor       =   &H00C0C0C0&
  735.          Caption         =   "Address:"
  736.          Height          =   255
  737.          Left            =   60
  738.          TabIndex        =   119
  739.          Top             =   420
  740.          Width           =   795
  741.       End
  742.       Begin Label Label36 
  743.          BackColor       =   &H00C0C0C0&
  744.          Caption         =   "DL#:"
  745.          Height          =   195
  746.          Left            =   360
  747.          TabIndex        =   120
  748.          Top             =   660
  749.          Width           =   495
  750.       End
  751.       Begin Label Label35 
  752.          BackColor       =   &H00C0C0C0&
  753.          Caption         =   "Height:"
  754.          Height          =   195
  755.          Left            =   180
  756.          TabIndex        =   121
  757.          Top             =   900
  758.          Width           =   615
  759.       End
  760.       Begin Label Label34 
  761.          BackColor       =   &H00C0C0C0&
  762.          Caption         =   "'"
  763.          Height          =   135
  764.          Left            =   1320
  765.          TabIndex        =   122
  766.          Top             =   900
  767.          Width           =   135
  768.       End
  769.       Begin Label Label33 
  770.          BackColor       =   &H00C0C0C0&
  771.          Caption         =   "''"
  772.          Height          =   195
  773.          Left            =   1860
  774.          TabIndex        =   123
  775.          Top             =   900
  776.          Width           =   195
  777.       End
  778.    End
  779.    Begin TextBox txtDaysToFix 
  780.       BackColor       =   &H00FFFFFF&
  781.       DataField       =   "DaysToFix"
  782.       DataSource      =   "dtaWarning"
  783.       ForeColor       =   &H00FF0000&
  784.       Height          =   285
  785.       Left            =   2400
  786.       TabIndex        =   62
  787.       Top             =   4920
  788.       Width           =   315
  789.    End
  790.    Begin TextBox txtNum 
  791.       BackColor       =   &H00FFFFFF&
  792.       DataField       =   "WarningNum"
  793.       DataSource      =   "dtaWarning"
  794.       ForeColor       =   &H00FF0000&
  795.       Height          =   285
  796.       Left            =   7320
  797.       TabIndex        =   2
  798.       Top             =   120
  799.       Width           =   1755
  800.    End
  801.    Begin TextBox txtDateTime 
  802.       BackColor       =   &H00FFFFFF&
  803.       DataField       =   "DateTime"
  804.       DataSource      =   "dtaWarning"
  805.       ForeColor       =   &H00FF0000&
  806.       Height          =   285
  807.       Left            =   3900
  808.       TabIndex        =   1
  809.       Top             =   120
  810.       Width           =   1995
  811.    End
  812.    Begin TextBox txtDoPg2 
  813.       BackColor       =   &H00C0C0C0&
  814.       BorderStyle     =   0  'None
  815.       Height          =   285
  816.       Left            =   1860
  817.       TabIndex        =   39
  818.       Top             =   2580
  819.       Width           =   180
  820.    End
  821.    Begin TextBox txtDoPg1 
  822.       BackColor       =   &H00C0C0C0&
  823.       BorderStyle     =   0  'None
  824.       Height          =   285
  825.       Left            =   480
  826.       TabIndex        =   13
  827.       Top             =   2520
  828.       Width           =   180
  829.    End
  830.    Begin PictureBox picPage1 
  831.       BackColor       =   &H00C0C0C0&
  832.       Height          =   1815
  833.       Left            =   180
  834.       ScaleHeight     =   1785
  835.       ScaleWidth      =   8865
  836.       TabIndex        =   125
  837.       TabStop         =   0   'False
  838.       Top             =   3060
  839.       Width           =   8895
  840.       Begin TextBox txtSpeedFrom 
  841.          DataField       =   "SpeedFrom"
  842.          DataSource      =   "dtaWarning"
  843.          Height          =   285
  844.          Left            =   1200
  845.          TabIndex        =   15
  846.          Top             =   0
  847.          Width           =   435
  848.       End
  849.       Begin TextBox txtSigWhere 
  850.          DataField       =   "SigWhere"
  851.          DataSource      =   "dtaWarning"
  852.          Height          =   285
  853.          Left            =   4560
  854.          TabIndex        =   30
  855.          Top             =   1440
  856.          Width           =   1695
  857.       End
  858.       Begin TextBox txtSpeedIn 
  859.          DataField       =   "SpeedIn"
  860.          DataSource      =   "dtaWarning"
  861.          Height          =   285
  862.          Left            =   2100
  863.          TabIndex        =   16
  864.          Top             =   0
  865.          Width           =   435
  866.       End
  867.       Begin SSCheck chkVio 
  868.          Caption         =   "Too Fast for Conditions"
  869.          DataField       =   "TooFast"
  870.          DataSource      =   "dtaWarning"
  871.          Height          =   195
  872.          Index           =   101
  873.          Left            =   60
  874.          TabIndex        =   17
  875.          Top             =   300
  876.          Width           =   2355
  877.       End
  878.       Begin SSCheck chkVio 
  879.          Caption         =   "Speeding"
  880.          DataField       =   "Speed"
  881.          DataSource      =   "dtaWarning"
  882.          Height          =   195
  883.          Index           =   100
  884.          Left            =   60
  885.          TabIndex        =   14
  886.          Top             =   60
  887.          Width           =   1275
  888.       End
  889.       Begin SSCheck chkVio 
  890.          Caption         =   "Improper Lane Usage"
  891.          DataField       =   "ImpLane"
  892.          DataSource      =   "dtaWarning"
  893.          Height          =   195
  894.          Index           =   103
  895.          Left            =   60
  896.          TabIndex        =   19
  897.          Top             =   780
  898.          Width           =   2175
  899.       End
  900.       Begin SSCheck chkVio 
  901.          Caption         =   "Unsafe Backing"
  902.          DataField       =   "UnsBack"
  903.          DataSource      =   "dtaWarning"
  904.          Height          =   195
  905.          Index           =   104
  906.          Left            =   60
  907.          TabIndex        =   20
  908.          Top             =   1020
  909.          Width           =   1815
  910.       End
  911.       Begin SSCheck chkVio 
  912.          Caption         =   "Illegal U-turn"
  913.          DataField       =   "UTurn"
  914.          DataSource      =   "dtaWarning"
  915.          Height          =   195
  916.          Index           =   105
  917.          Left            =   60
  918.          TabIndex        =   21
  919.          Top             =   1260
  920.          Width           =   1455
  921.       End
  922.       Begin SSCheck chkVio 
  923.          Caption         =   "Driving Off Roadway"
  924.          DataField       =   "OffRoad"
  925.          DataSource      =   "dtaWarning"
  926.          Height          =   195
  927.          Index           =   106
  928.          Left            =   60
  929.          TabIndex        =   22
  930.          Top             =   1500
  931.          Width           =   2055
  932.       End
  933.       Begin SSCheck chkVio 
  934.          Caption         =   "No Lights When Required"
  935.          DataField       =   "NoLights"
  936.          DataSource      =   "dtaWarning"
  937.          Height          =   195
  938.          Index           =   114
  939.          Left            =   6300
  940.          TabIndex        =   31
  941.          Top             =   60
  942.          Width           =   2475
  943.       End
  944.       Begin SSCheck chkVio 
  945.          Caption         =   "Driving In Wrong Lane"
  946.          DataField       =   "WrongLane"
  947.          DataSource      =   "dtaWarning"
  948.          Height          =   195
  949.          Index           =   107
  950.          Left            =   3060
  951.          TabIndex        =   23
  952.          Top             =   60
  953.          Width           =   2235
  954.       End
  955.       Begin SSCheck chkVio 
  956.          Caption         =   "Illegal Parking"
  957.          DataField       =   "Parking"
  958.          DataSource      =   "dtaWarning"
  959.          Height          =   195
  960.          Index           =   110
  961.          Left            =   3060
  962.          TabIndex        =   26
  963.          Top             =   780
  964.          Width           =   1515
  965.       End
  966.       Begin SSCheck chkVio 
  967.          Caption         =   "Disobeyed Yield Sign"
  968.          DataField       =   "YieldSign"
  969.          DataSource      =   "dtaWarning"
  970.          Height          =   195
  971.          Index           =   109
  972.          Left            =   3060
  973.          TabIndex        =   25
  974.          Top             =   540
  975.          Width           =   2175
  976.       End
  977.       Begin SSCheck chkVio 
  978.          Caption         =   "Disobeyed Stop Sign"
  979.          DataField       =   "StopSign"
  980.          DataSource      =   "dtaWarning"
  981.          Height          =   195
  982.          Index           =   108
  983.          Left            =   3060
  984.          TabIndex        =   24
  985.          Top             =   300
  986.          Width           =   2115
  987.       End
  988.       Begin SSCheck chkVio 
  989.          Caption         =   "Improper Passing"
  990.          DataField       =   "Passing"
  991.          DataSource      =   "dtaWarning"
  992.          Height          =   195
  993.          Index           =   111
  994.          Left            =   3060
  995.          TabIndex        =   27
  996.          Top             =   1020
  997.          Width           =   1755
  998.       End
  999.       Begin SSCheck chkVio 
  1000.          Caption         =   "No Seat Belt"
  1001.          DataField       =   "SeatBelt"
  1002.          DataSource      =   "dtaWarning"
  1003.          Height          =   195
  1004.          Index           =   112
  1005.          Left            =   3060
  1006.          TabIndex        =   28
  1007.          Top             =   1260
  1008.          Width           =   1395
  1009.       End
  1010.       Begin SSCheck chkVio 
  1011.          Caption         =   "Fail To Signal"
  1012.          DataField       =   "Signal"
  1013.          DataSource      =   "dtaWarning"
  1014.          Height          =   195
  1015.          Index           =   113
  1016.          Left            =   3060
  1017.          TabIndex        =   29
  1018.          Top             =   1500
  1019.          Width           =   1455
  1020.       End
  1021.       Begin SSCheck chkVio 
  1022.          Caption         =   "Failure to Dim Headlights"
  1023.          DataField       =   "DimLights"
  1024.          DataSource      =   "dtaWarning"
  1025.          Height          =   195
  1026.          Index           =   115
  1027.          Left            =   6300
  1028.          TabIndex        =   32
  1029.          Top             =   300
  1030.          Width           =   2415
  1031.       End
  1032.       Begin SSCheck chkVio 
  1033.          Caption         =   "One Headlight"
  1034.          DataField       =   "OneHead"
  1035.          DataSource      =   "dtaWarning"
  1036.          Height          =   195
  1037.          Index           =   116
  1038.          Left            =   6300
  1039.          TabIndex        =   33
  1040.          Top             =   540
  1041.          Width           =   1575
  1042.       End
  1043.       Begin SSCheck chkVio 
  1044.          Caption         =   "One Taillight"
  1045.          DataField       =   "OneTail"
  1046.          DataSource      =   "dtaWarning"
  1047.          Height          =   195
  1048.          Index           =   117
  1049.          Left            =   6300
  1050.          TabIndex        =   34
  1051.          Top             =   780
  1052.          Width           =   1455
  1053.       End
  1054.       Begin SSCheck chkVio 
  1055.          Caption         =   "Broken Taillight"
  1056.          DataField       =   "BrokeTail"
  1057.          DataSource      =   "dtaWarning"
  1058.          Height          =   195
  1059.          Index           =   118
  1060.          Left            =   6300
  1061.          TabIndex        =   35
  1062.          Top             =   1020
  1063.          Width           =   1635
  1064.       End
  1065.       Begin SSCheck chkVio 
  1066.          Caption         =   "No Brake Light"
  1067.          DataField       =   "NoBrake"
  1068.          DataSource      =   "dtaWarning"
  1069.          Height          =   195
  1070.          Index           =   119
  1071.          Left            =   6300
  1072.          TabIndex        =   36
  1073.          Top             =   1260
  1074.          Width           =   1635
  1075.       End
  1076.       Begin SSCheck chkVio 
  1077.          Caption         =   "No Registration Lamp"
  1078.          DataField       =   "NoRegLight"
  1079.          DataSource      =   "dtaWarning"
  1080.          Height          =   195
  1081.          Index           =   120
  1082.          Left            =   6300
  1083.          TabIndex        =   37
  1084.          Top             =   1500
  1085.          Width           =   2115
  1086.       End
  1087.       Begin SSCheck chkVio 
  1088.          Caption         =   "Following Too Closely"
  1089.          DataField       =   "TooClose"
  1090.          DataSource      =   "dtaWarning"
  1091.          Height          =   195
  1092.          Index           =   102
  1093.          Left            =   60
  1094.          TabIndex        =   18
  1095.          Top             =   540
  1096.          Width           =   2175
  1097.       End
  1098.       Begin Label Label20 
  1099.          BackColor       =   &H00C0C0C0&
  1100.          Caption         =   "in a"
  1101.          Height          =   195
  1102.          Left            =   1680
  1103.          TabIndex        =   126
  1104.          Top             =   60
  1105.          Width           =   375
  1106.       End
  1107.    End
  1108.    Begin PictureBox picPage2 
  1109.       BackColor       =   &H00C0C0C0&
  1110.       Height          =   1815
  1111.       Left            =   180
  1112.       ScaleHeight     =   1785
  1113.       ScaleWidth      =   8865
  1114.       TabIndex        =   102
  1115.       TabStop         =   0   'False
  1116.       Top             =   3060
  1117.       Visible         =   0   'False
  1118.       Width           =   8895
  1119.       Begin SSCheck chkVio 
  1120.          Caption         =   "Snow Removal"
  1121.          DataField       =   "Snow"
  1122.          DataSource      =   "dtaWarning"
  1123.          Height          =   195
  1124.          Index           =   138
  1125.          Left            =   6000
  1126.          TabIndex        =   57
  1127.          Top             =   840
  1128.          Width           =   1635
  1129.       End
  1130.       Begin TextBox Other1Txt 
  1131.          DataField       =   "Other1Txt"
  1132.          DataSource      =   "dtaWarning"
  1133.          Height          =   285
  1134.          Left            =   6960
  1135.          TabIndex        =   59
  1136.          Text            =   " "
  1137.          Top             =   1080
  1138.          Width           =   1875
  1139.       End
  1140.       Begin SSCheck chkVio 
  1141.          Caption         =   "Road Hazard"
  1142.          DataField       =   "RoadHaz"
  1143.          DataSource      =   "dtaWarning"
  1144.          Height          =   195
  1145.          Index           =   135
  1146.          Left            =   6000
  1147.          TabIndex        =   54
  1148.          Top             =   120
  1149.          Width           =   1515
  1150.       End
  1151.       Begin SSCheck chkVio 
  1152.          Caption         =   "Health Hazard"
  1153.          DataField       =   "HealthHaz"
  1154.          DataSource      =   "dtaWarning"
  1155.          Height          =   195
  1156.          Index           =   136
  1157.          Left            =   6000
  1158.          TabIndex        =   55
  1159.          Top             =   360
  1160.          Width           =   1575
  1161.       End
  1162.       Begin SSCheck chkVio 
  1163.          Caption         =   "Soliciting W/O Permit"
  1164.          DataField       =   "Soliciting"
  1165.          DataSource      =   "dtaWarning"
  1166.          Height          =   195
  1167.          Index           =   137
  1168.          Left            =   6000
  1169.          TabIndex        =   56
  1170.          Top             =   600
  1171.          Width           =   2175
  1172.       End
  1173.       Begin SSCheck chkVio 
  1174.          Caption         =   "Other 1:"
  1175.          DataField       =   "Other1"
  1176.          DataSource      =   "dtaWarning"
  1177.          Height          =   195
  1178.          Index           =   139
  1179.          Left            =   6000
  1180.          TabIndex        =   58
  1181.          Top             =   1140
  1182.          Width           =   915
  1183.       End
  1184.       Begin SSCheck chkVio 
  1185.          Caption         =   "Other 2:"
  1186.          DataField       =   "Other2"
  1187.          DataSource      =   "dtaWarning"
  1188.          Height          =   195
  1189.          Index           =   140
  1190.          Left            =   6000
  1191.          TabIndex        =   60
  1192.          Top             =   1500
  1193.          Width           =   915
  1194.       End
  1195.       Begin SSCheck chkVio 
  1196.          Caption         =   "Altered Suspension"
  1197.          DataField       =   "Altered"
  1198.          DataSource      =   "dtaWarning"
  1199.          Height          =   195
  1200.          Index           =   128
  1201.          Left            =   3060
  1202.          TabIndex        =   47
  1203.          Top             =   60
  1204.          Width           =   1995
  1205.       End
  1206.       Begin SSCheck chkVio 
  1207.          Caption         =   "Unsafe Tire"
  1208.          DataField       =   "UnsafeTire"
  1209.          DataSource      =   "dtaWarning"
  1210.          Height          =   195
  1211.          Index           =   129
  1212.          Left            =   3060
  1213.          TabIndex        =   48
  1214.          Top             =   300
  1215.          Width           =   1335
  1216.       End
  1217.       Begin SSCheck chkVio 
  1218.          Caption         =   "Bicycle Violation"
  1219.          DataField       =   "Bicycle"
  1220.          DataSource      =   "dtaWarning"
  1221.          Height          =   195
  1222.          Index           =   131
  1223.          Left            =   3060
  1224.          TabIndex        =   50
  1225.          Top             =   780
  1226.          Width           =   2235
  1227.       End
  1228.       Begin SSCheck chkVio 
  1229.          Caption         =   "Animal Violation"
  1230.          DataField       =   "Animal"
  1231.          DataSource      =   "dtaWarning"
  1232.          Height          =   195
  1233.          Index           =   132
  1234.          Left            =   3060
  1235.          TabIndex        =   51
  1236.          Top             =   1020
  1237.          Width           =   1755
  1238.       End
  1239.       Begin SSCheck chkVio 
  1240.          Caption         =   "Junk Violation"
  1241.          DataField       =   "Junk"
  1242.          DataSource      =   "dtaWarning"
  1243.          Height          =   195
  1244.          Index           =   133
  1245.          Left            =   3060
  1246.          TabIndex        =   52
  1247.          Top             =   1260
  1248.          Width           =   1515
  1249.       End
  1250.       Begin SSCheck chkVio 
  1251.          Caption         =   "Fire Hazard"
  1252.          DataField       =   "Fire"
  1253.          DataSource      =   "dtaWarning"
  1254.          Height          =   195
  1255.          Index           =   134
  1256.          Left            =   3060
  1257.          TabIndex        =   53
  1258.          Top             =   1500
  1259.          Width           =   1275
  1260.       End
  1261.       Begin SSCheck chkVio 
  1262.          Caption         =   "Imp. Display Of Lic. Plates"
  1263.          DataField       =   "ImpPlates"
  1264.          DataSource      =   "dtaWarning"
  1265.          Height          =   195
  1266.          Index           =   121
  1267.          Left            =   60
  1268.          TabIndex        =   40
  1269.          Top             =   60
  1270.          Width           =   2535
  1271.       End
  1272.       Begin SSCheck chkVio 
  1273.          Caption         =   "Obstructed Lic Plate"
  1274.          DataField       =   "ObsPlate"
  1275.          DataSource      =   "dtaWarning"
  1276.          Height          =   195
  1277.          Index           =   122
  1278.          Left            =   60
  1279.          TabIndex        =   41
  1280.          Top             =   300
  1281.          Width           =   2115
  1282.       End
  1283.       Begin SSCheck chkVio 
  1284.          Caption         =   "Expired License"
  1285.          DataField       =   "ExpLicense"
  1286.          DataSource      =   "dtaWarning"
  1287.          Height          =   195
  1288.          Index           =   123
  1289.          Left            =   60
  1290.          TabIndex        =   42
  1291.          Top             =   540
  1292.          Width           =   1695
  1293.       End
  1294.       Begin SSCheck chkVio 
  1295.          Caption         =   "Permit/Decal Violation"
  1296.          DataField       =   "PermitVio"
  1297.          DataSource      =   "dtaWarning"
  1298.          Height          =   195
  1299.          Index           =   124
  1300.          Left            =   60
  1301.          TabIndex        =   43
  1302.          Top             =   780
  1303.          Width           =   2235
  1304.       End
  1305.       Begin SSCheck chkVio 
  1306.          Caption         =   "No Valid Registration"
  1307.          DataField       =   "NoReg"
  1308.          DataSource      =   "dtaWarning"
  1309.          Height          =   195
  1310.          Index           =   125
  1311.          Left            =   60
  1312.          TabIndex        =   44
  1313.          Top             =   1020
  1314.          Width           =   2175
  1315.       End
  1316.       Begin SSCheck chkVio 
  1317.          Caption         =   "No D.L. On Person"
  1318.          DataField       =   "NoDL"
  1319.          DataSource      =   "dtaWarning"
  1320.          Height          =   195
  1321.          Index           =   126
  1322.          Left            =   60
  1323.          TabIndex        =   45
  1324.          Top             =   1260
  1325.          Width           =   1935
  1326.       End
  1327.       Begin SSCheck chkVio 
  1328.          Caption         =   "Unsafe Equipment"
  1329.          DataField       =   "Unsafe"
  1330.          DataSource      =   "dtaWarning"
  1331.          Height          =   195
  1332.          Index           =   127
  1333.          Left            =   60
  1334.          TabIndex        =   46
  1335.          Top             =   1500
  1336.          Width           =   1875
  1337.       End
  1338.       Begin TextBox txtOther2Txt 
  1339.          BackColor       =   &H00FFFFFF&
  1340.          DataField       =   "Other2Txt"
  1341.          DataSource      =   "dtaWarning"
  1342.          Height          =   285
  1343.          Left            =   6960
  1344.          TabIndex        =   61
  1345.          Top             =   1440
  1346.          Width           =   1875
  1347.       End
  1348.       Begin SSCheck chkVio 
  1349.          Caption         =   "Defective Exhaust System"
  1350.          DataField       =   "BadExhaust"
  1351.          DataSource      =   "dtaWarning"
  1352.          Height          =   195
  1353.          Index           =   130
  1354.          Left            =   3060
  1355.          TabIndex        =   49
  1356.          Top             =   540
  1357.          Width           =   2535
  1358.       End
  1359.    End
  1360.    Begin Image imgIcon 
  1361.       Height          =   375
  1362.       Left            =   240
  1363.       Picture         =   VBWARN.FRX:2F3C
  1364.       Stretch         =   -1  'True
  1365.       Top             =   60
  1366.       Width           =   675
  1367.    End
  1368.    Begin Label Label51 
  1369.       BackColor       =   &H00C0C0C0&
  1370.       Caption         =   "Warning"
  1371.       FontBold        =   -1  'True
  1372.       FontItalic      =   0   'False
  1373.       FontName        =   "MS Sans Serif"
  1374.       FontSize        =   13.5
  1375.       FontStrikethru  =   0   'False
  1376.       FontUnderline   =   0   'False
  1377.       Height          =   375
  1378.       Left            =   1140
  1379.       TabIndex        =   130
  1380.       Top             =   60
  1381.       Width           =   1275
  1382.    End
  1383.    Begin Line Line6 
  1384.       BorderWidth     =   3
  1385.       X1              =   60
  1386.       X2              =   9180
  1387.       Y1              =   0
  1388.       Y2              =   0
  1389.    End
  1390.    Begin Line Line5 
  1391.       BorderWidth     =   3
  1392.       X1              =   60
  1393.       X2              =   60
  1394.       Y1              =   5280
  1395.       Y2              =   0
  1396.    End
  1397.    Begin Line Line4 
  1398.       BorderWidth     =   3
  1399.       X1              =   9180
  1400.       X2              =   9180
  1401.       Y1              =   5280
  1402.       Y2              =   0
  1403.    End
  1404.    Begin Line Line3 
  1405.       BorderWidth     =   3
  1406.       X1              =   9180
  1407.       X2              =   60
  1408.       Y1              =   5280
  1409.       Y2              =   5280
  1410.    End
  1411.    Begin Label Label42 
  1412.       BackColor       =   &H00C0C0C0&
  1413.       Caption         =   "Ticket Number:"
  1414.       Height          =   195
  1415.       Left            =   5940
  1416.       TabIndex        =   127
  1417.       Top             =   120
  1418.       Width           =   1395
  1419.    End
  1420.    Begin Image imgPage2 
  1421.       Height          =   480
  1422.       Left            =   675
  1423.       Picture         =   VBWARN.FRX:323E
  1424.       Top             =   3450
  1425.       Visible         =   0   'False
  1426.       Width           =   4800
  1427.    End
  1428.    Begin Image imgPage1 
  1429.       Height          =   480
  1430.       Left            =   975
  1431.       Picture         =   VBWARN.FRX:46B8
  1432.       Top             =   3450
  1433.       Visible         =   0   'False
  1434.       Width           =   4800
  1435.    End
  1436.    Begin Label Label46 
  1437.       BackColor       =   &H00C0C0C0&
  1438.       Caption         =   "Officer:"
  1439.       Height          =   255
  1440.       Left            =   4080
  1441.       TabIndex        =   99
  1442.       Top             =   4920
  1443.       Width           =   675
  1444.    End
  1445.    Begin Label Label45 
  1446.       BackColor       =   &H00C0C0C0&
  1447.       Caption         =   "days."
  1448.       Height          =   315
  1449.       Left            =   2760
  1450.       TabIndex        =   100
  1451.       Top             =   4920
  1452.       Width           =   555
  1453.    End
  1454.    Begin Label Label44 
  1455.       BackColor       =   &H00C0C0C0&
  1456.       Caption         =   "Remedy equipment within"
  1457.       Height          =   255
  1458.       Left            =   180
  1459.       TabIndex        =   101
  1460.       Top             =   4920
  1461.       Width           =   2235
  1462.    End
  1463.    Begin Label Label2 
  1464.       BackColor       =   &H00C0C0C0&
  1465.       Caption         =   "Date/Time:"
  1466.       Height          =   195
  1467.       Left            =   2880
  1468.       TabIndex        =   72
  1469.       Top             =   120
  1470.       Width           =   975
  1471.    End
  1472.    Begin Menu mnuFile 
  1473.       Caption         =   "&Record"
  1474.       Begin Menu mnuNew 
  1475.          Caption         =   "&New"
  1476.       End
  1477.       Begin Menu mnuDelete 
  1478.          Caption         =   "&Delete"
  1479.       End
  1480.       Begin Menu mnuSave 
  1481.          Caption         =   "&Save"
  1482.       End
  1483.       Begin Menu mnuCancel 
  1484.          Caption         =   "&Cancel"
  1485.       End
  1486.       Begin Menu mnuNewPerson 
  1487.          Caption         =   "New &Person"
  1488.       End
  1489.       Begin Menu mnuDash 
  1490.          Caption         =   "-"
  1491.       End
  1492.       Begin Menu mnuExit 
  1493.          Caption         =   "E&xit"
  1494.       End
  1495.    End
  1496.    Begin Menu mnuView 
  1497.       Caption         =   "&View"
  1498.       Begin Menu mnuPage1 
  1499.          Caption         =   "Violation Page &1"
  1500.       End
  1501.       Begin Menu mnuPage2 
  1502.          Caption         =   "Violation Page &2"
  1503.       End
  1504.    End
  1505.    Begin Menu mnuTables 
  1506.       Caption         =   "&Tables"
  1507.       Begin Menu mnuPersons 
  1508.          Caption         =   "&Persons"
  1509.       End
  1510.       Begin Menu mnuOfficers 
  1511.          Caption         =   "&Officers"
  1512.       End
  1513.    End
  1514.    Begin Menu mnuHelp 
  1515.       Caption         =   "&Help"
  1516.       Begin Menu mnuAbout 
  1517.          Caption         =   "&About"
  1518.       End
  1519.    End
  1520. End
  1521. Option Explicit
  1522. Dim CurrRec As String
  1523. Dim CurPerson As Variant
  1524. Dim Starting As Integer
  1525. Dim LastNum As String
  1526.  
  1527. Sub chkVio_Click (Index As Integer, Value As Integer)
  1528.         If chkVio(Index).DataChanged Then Call Editing
  1529. End Sub
  1530.  
  1531. Sub chkVio_GotFocus (Index As Integer)
  1532.     If (Index = 100) Then lblPage1_Click
  1533.     If (Index = 121) Then lblPage2_Click
  1534.     chkVio(Index).Font3D = 1
  1535. End Sub
  1536.  
  1537. Sub chkVio_LostFocus (Index As Integer)
  1538.     chkVio(Index).Font3D = 0
  1539. End Sub
  1540.  
  1541. Sub ClrPerson ()
  1542.    cmbPerson.Text = ""
  1543.    cmbOfficer.Text = ""
  1544.    lblLName = ""
  1545.    lblID = ""
  1546.    lblAddress = ""
  1547.    lblCity = ""
  1548.    lblDL = ""
  1549.    lblDlSt = ""
  1550.    lblFeet = ""
  1551.    lblInches = ""
  1552.    lblWeight = ""
  1553.    lblFName = ""
  1554.    lblState = ""
  1555.    lblDlType = ""
  1556.    lblHair = ""
  1557.    lblInitial = ""
  1558.    lblZip = ""
  1559.    lblDOB = ""
  1560.    lblEyes = ""
  1561.    lblSex = ""
  1562. End Sub
  1563.  
  1564. Sub cmbNewPerson_Click ()
  1565.     Call Editing
  1566.     frmNewP.Show 1
  1567.     If GlobalPersonID <> 0 Then
  1568.         txtID.Text = GlobalPersonID
  1569.         dtaPerson.Refresh
  1570.         dtaPerson.Recordset.FindFirst "ID = " & GlobalPersonID
  1571.         GlobalPersonID = 0
  1572.         cmbPerson.Text = GetPersonStr(dtaPerson.Recordset)
  1573.     End If
  1574. End Sub
  1575.  
  1576. Sub cmbOfficer_Click ()
  1577.     Dim ID As Variant
  1578.     Dim Namex As String
  1579.     ID = Right$(cmbOfficer.Text, ((Len(cmbOfficer.Text)) - (InStr(1, cmbOfficer.Text, "-")) - 1))
  1580.     txtOffID = ID
  1581.     OffTable.FindFirst "OffID = " & "'" & ID & "'"
  1582.     Call Editing
  1583.     If Not IsNull(OffTable!Name) Then
  1584.         Namex = Trim$(OffTable!Name)
  1585.     End If
  1586.     Namex = Namex & " - " & OffTable("OffID")
  1587.     cmbOfficer.Text = Namex
  1588. End Sub
  1589.  
  1590. Sub cmbPerson_Click ()
  1591.     Dim ID As Variant
  1592.     ID = Right$(cmbPerson.Text, ((Len(cmbPerson.Text)) - (InStr(1, cmbPerson.Text, "-")) - 1))
  1593.     txtID.Text = ID
  1594.     dtaPerson.Refresh
  1595.     dtaPerson.Recordset.FindFirst "ID = " & ID
  1596.     Call Editing
  1597. End Sub
  1598.  
  1599. Sub cmbSortBy_Click ()
  1600.     Dim Src As String
  1601.  
  1602.     If cmbSortBy.Text = "Date/Time Descending" Then Src = QTikPerson & "ORDER BY Tik.DateTime DESC"
  1603.     If cmbSortBy.Text = "Ticket Number" Then Src = QTikPerson & "ORDER BY WarningNum"
  1604.     If cmbSortBy.Text = "Last Name" Then Src = QTikPerson & "ORDER BY LName"
  1605.     If cmbSortBy.Text = "First Name" Then Src = QTikPerson & "ORDER BY FName"
  1606.     If cmbSortBy.Text = "Address" Then Src = QTikPerson & "ORDER BY Address"
  1607.     If cmbSortBy.Text = "City" Then Src = QTikPerson & "ORDER BY City"
  1608.     If cmbSortBy.Text = "State" Then Src = QTikPerson & "ORDER BY State"
  1609.     If cmbSortBy.Text = "Zip Code" Then Src = QTikPerson & "ORDER BY Zip"
  1610.     If cmbSortBy.Text = "DL Number" Then Src = QTikPerson & "ORDER BY DL"
  1611.     If cmbSortBy.Text = "DL State" Then Src = QTikPerson & "ORDER BY DLSt"
  1612.     If cmbSortBy.Text = "DL Type" Then Src = QTikPerson & "ORDER BY DLType"
  1613.     If cmbSortBy.Text = "Date Of Birth" Then Src = QTikPerson & "ORDER BY DOB"
  1614.     If cmbSortBy.Text = "Height" Then Src = QTikPerson & "ORDER BY Feet,Inches"
  1615.     If cmbSortBy.Text = "Weight" Then Src = QTikPerson & "ORDER BY Weight"
  1616.     If cmbSortBy.Text = "Hair Color" Then Src = QTikPerson & "ORDER BY Hair"
  1617.     If cmbSortBy.Text = "Eye Color" Then Src = QTikPerson & "ORDER BY Eyes"
  1618.     If cmbSortBy.Text = "Sex" Then Src = QTikPerson & "ORDER BY Sex"
  1619.     If cmbSortBy.Text = "Plate" Then Src = QTikPerson & "ORDER BY Plate"
  1620.     If cmbSortBy.Text = "Plate State" Then Src = QTikPerson & "ORDER BY PlateSt"
  1621.     If cmbSortBy.Text = "Color" Then Src = QTikPerson & "ORDER BY Color"
  1622.     If cmbSortBy.Text = "Make" Then Src = QTikPerson & "ORDER BY Make"
  1623.     If cmbSortBy.Text = "Model" Then Src = QTikPerson & "ORDER BY Model"
  1624.  
  1625.     If cmbSortBy.Text = "Model Year" Then Src = QTikPerson & "ORDER BY Year"
  1626.     If cmbSortBy.Text = "Speeding" Then Src = QTikPerson & "ORDER BY Speed"
  1627.     If cmbSortBy.Text = "Speed" Then Src = QTikPerson & "ORDER BY SpeedFrom"
  1628.     If cmbSortBy.Text = "Speed Limit" Then Src = QTikPerson & "ORDER BY SpeedIn"
  1629.     If cmbSortBy.Text = "Too Fast for Conditions" Then Src = QTikPerson & "ORDER BY TooFast"
  1630.     If cmbSortBy.Text = "Following Too Closely" Then Src = QTikPerson & "ORDER BY TooClose"
  1631.     If cmbSortBy.Text = "Improper Lane Usage" Then Src = QTikPerson & "ORDER BY ImpLane"
  1632.     If cmbSortBy.Text = "Unsafe Backing" Then Src = QTikPerson & "ORDER BY UnsBack"
  1633.     If cmbSortBy.Text = "Illegal U-Turn" Then Src = QTikPerson & "ORDER BY UTurn"
  1634.     If cmbSortBy.Text = "Driving Off Roadway" Then Src = QTikPerson & "ORDER BY OffRoad"
  1635.     If cmbSortBy.Text = "Driving In Wrong Lane" Then Src = QTikPerson & "ORDER BY WrongLane"
  1636.     If cmbSortBy.Text = "Disobeyed Stop Sign" Then Src = QTikPerson & "ORDER BY StopSign"
  1637.     If cmbSortBy.Text = "Disobeyed Yield Sign" Then Src = QTikPerson & "ORDER BY YieldSign"
  1638.     If cmbSortBy.Text = "Illegal Parking" Then Src = QTikPerson & "ORDER BY Parking"
  1639.     If cmbSortBy.Text = "Improper Passing" Then Src = QTikPerson & "ORDER BY Passing"
  1640.     If cmbSortBy.Text = "No Seat Belt" Then Src = QTikPerson & "ORDER BY SeatBelt"
  1641.     If cmbSortBy.Text = "Fail To Signal" Then Src = QTikPerson & "ORDER BY Signal"
  1642.     If cmbSortBy.Text = "Signal Where" Then Src = QTikPerson & "ORDER BY SigWhere"
  1643.     If cmbSortBy.Text = "No Lights When Required" Then Src = QTikPerson & "ORDER BY NoLights"
  1644.     If cmbSortBy.Text = "Failure To Dim Headlights" Then Src = QTikPerson & "ORDER BY DimLights"
  1645.     If cmbSortBy.Text = "One Headlight" Then Src = QTikPerson & "ORDER BY OneHead"
  1646.     If cmbSortBy.Text = "One Taillight" Then Src = QTikPerson & "ORDER BY OneTail"
  1647.     If cmbSortBy.Text = "Broken Taillight" Then Src = QTikPerson & "ORDER BY BrokeTail"
  1648.     If cmbSortBy.Text = "No Brake Light" Then Src = QTikPerson & "ORDER BY NoBrake"
  1649.     If cmbSortBy.Text = "No Registration Lamp" Then Src = QTikPerson & "ORDER BY NoRegLight"
  1650.     If cmbSortBy.Text = "Imp. Display of Plates" Then Src = QTikPerson & "ORDER BY ImpPlates"
  1651.     If cmbSortBy.Text = "Obstructed Lic Plate" Then Src = QTikPerson & "ORDER BY ObsPlate"
  1652.     If cmbSortBy.Text = "Expired License" Then Src = QTikPerson & "ORDER BY ExpLicense"
  1653.     If cmbSortBy.Text = "Permit/Decal Violation" Then Src = QTikPerson & "ORDER BY PermitVio"
  1654.     If cmbSortBy.Text = "No Valid Registration" Then Src = QTikPerson & "ORDER BY NoReg"
  1655.     If cmbSortBy.Text = "No D.L. On Person" Then Src = QTikPerson & "ORDER BY NoDL"
  1656.     If cmbSortBy.Text = "Unsafe Equipment" Then Src = QTikPerson & "ORDER BY Unsafe"
  1657.     If cmbSortBy.Text = "Altered Suspension" Then Src = QTikPerson & "ORDER BY Altered"
  1658.     If cmbSortBy.Text = "Unsafe Tire" Then Src = QTikPerson & "ORDER BY UnsafeTire"
  1659.     If cmbSortBy.Text = "Defective Exhaust System" Then Src = QTikPerson & "ORDER BY BadExhaust"
  1660.     If cmbSortBy.Text = "Bicycle Violation" Then Src = QTikPerson & "ORDER BY Bicycle"
  1661.     If cmbSortBy.Text = "Animal Violation" Then Src = QTikPerson & "ORDER BY Animal"
  1662.     If cmbSortBy.Text = "Junk Violation" Then Src = QTikPerson & "ORDER BY Junk"
  1663.     If cmbSortBy.Text = "Fire Hazard" Then Src = QTikPerson & "ORDER BY Fire"
  1664.     If cmbSortBy.Text = "Road Hazard" Then Src = QTikPerson & "ORDER BY RoadHaz"
  1665.     If cmbSortBy.Text = "Health Hazard" Then Src = QTikPerson & "ORDER BY HealthHaz"
  1666.     If cmbSortBy.Text = "Soliciting W/O Permit" Then Src = QTikPerson & "ORDER BY Soliciting"
  1667.     If cmbSortBy.Text = "Snow Removal" Then Src = QTikPerson & "ORDER BY Snow"
  1668.     If cmbSortBy.Text = "Other 1" Then Src = QTikPerson & "ORDER BY Other1"
  1669.     If cmbSortBy.Text = "Other 1 Text" Then Src = QTikPerson & "ORDER BY Other1Txt"
  1670.     If cmbSortBy.Text = "Other 2" Then Src = QTikPerson & "ORDER BY Other2"
  1671.     If cmbSortBy.Text = "Other 2 Text" Then Src = QTikPerson & "ORDER BY Other2Txt"
  1672.  
  1673.     If cmbSortBy.Text = "Repair By Days" Then Src = QTikPerson & "ORDER BY DaystoFix"
  1674.     If cmbSortBy.Text = "Officer ID" Then Src = QTikPerson & "ORDER BY OfficerID"
  1675.     If cmbSortBy.Text = "Officer Name" Then Src = QTikPerson & "ORDER BY Name"
  1676.     dtaWarning.RecordSource = Src
  1677.     dtaWarning.Refresh
  1678. End Sub
  1679.  
  1680. Sub cmdCancel_Click ()
  1681.     If LastNum <> "" Then
  1682.         dtaWarning.Recordset.FindFirst "WarningNum = '" & LastNum & "'"
  1683.         Call NoChangeState
  1684.     Else
  1685.         cmdNew.Value = True
  1686.     End If
  1687. End Sub
  1688.  
  1689. Sub cmdComm_Click ()
  1690.     frmComm!txtComm = txtComm
  1691.     frmComm.Show 1
  1692.     If txtComm.DataChanged Then
  1693.         If txtComm = "" Then
  1694.             cmdComm.Caption = "Add Co&mment"
  1695.         Else
  1696.             cmdComm.Caption = "Edit Co&mment"
  1697.         End If
  1698.         Call Editing
  1699.     End If
  1700. End Sub
  1701.  
  1702. Sub cmdDelete_Click ()
  1703.     dtaWarning.Recordset.Delete
  1704.     dtaWarning.Refresh
  1705.     If dtaWarning.Recordset.EOF Then
  1706.         MsgBox "There are no remaining tickets, you may add one now."
  1707.         cmdNew.Value = True
  1708.     End If
  1709. End Sub
  1710.  
  1711. Sub cmdJumpTo_Click ()
  1712.     Dim Feet, Inches
  1713.     If cmbSortBy.Text = "Date/Time Descending" Then If IsDate(txtJumpTo) Then dtaWarning.Recordset.FindFirst "DateTime <= " & "#" & txtJumpTo & "#"
  1714.     If cmbSortBy.Text = "Ticket Number" Then dtaWarning.Recordset.FindFirst "WarningNum >= " & "'" & txtJumpTo & "'"
  1715.     If cmbSortBy.Text = "Last Name" Then dtaWarning.Recordset.FindFirst "LName >= " & "'" & txtJumpTo & "'"
  1716.     If cmbSortBy.Text = "First Name" Then dtaWarning.Recordset.FindFirst "FName >= " & "'" & txtJumpTo & "'"
  1717.     If cmbSortBy.Text = "Address" Then dtaWarning.Recordset.FindFirst "Address >= " & "'" & txtJumpTo & "'"
  1718.     If cmbSortBy.Text = "City" Then dtaWarning.Recordset.FindFirst "City >= " & "'" & txtJumpTo & "'"
  1719.     If cmbSortBy.Text = "State" Then dtaWarning.Recordset.FindFirst "State >= " & "'" & txtJumpTo & "'"
  1720.     If cmbSortBy.Text = "Zip Code" Then dtaWarning.Recordset.FindFirst "Zip >= " & "'" & txtJumpTo & "'"
  1721.     If cmbSortBy.Text = "DL Number" Then dtaWarning.Recordset.FindFirst "DL >= " & "'" & txtJumpTo & "'"
  1722.     If cmbSortBy.Text = "DL State" Then dtaWarning.Recordset.FindFirst "DLSt >= " & "'" & txtJumpTo & "'"
  1723.     If cmbSortBy.Text = "DL Type" Then dtaWarning.Recordset.FindFirst "DLType >= " & "'" & txtJumpTo & "'"
  1724.     If cmbSortBy.Text = "Date Of Birth" Then dtaWarning.Recordset.FindFirst "DOB >= " & "#" & txtJumpTo & "#"
  1725.     If cmbSortBy.Text = "Height" Then
  1726.         Feet = Left(txtJumpTo, (InStr(1, txtJumpTo, " ") - 1))
  1727.         Inches = Right(txtJumpTo, Len(txtJumpTo) - InStr(1, txtJumpTo, " "))
  1728.         dtaWarning.Recordset.FindFirst "(Feet >= " & "'" & Feet & "') AND (Inches >= '" & Inches & "')"
  1729.     End If
  1730.     If cmbSortBy.Text = "Weight" Then dtaWarning.Recordset.FindFirst "Weight >= " & "'" & txtJumpTo & "'"
  1731.     If cmbSortBy.Text = "Hair Color" Then dtaWarning.Recordset.FindFirst "Hair >= " & "'" & txtJumpTo & "'"
  1732.     If cmbSortBy.Text = "Eye Color" Then dtaWarning.Recordset.FindFirst "Eyes >= " & "'" & txtJumpTo & "'"
  1733.     If cmbSortBy.Text = "Sex" Then dtaWarning.Recordset.FindFirst "Sex >= " & "'" & txtJumpTo & "'"
  1734.     If cmbSortBy.Text = "Plate" Then dtaWarning.Recordset.FindFirst "Plate >= " & "'" & txtJumpTo & "'"
  1735.     If cmbSortBy.Text = "Plate State" Then dtaWarning.Recordset.FindFirst "PlateSt >= " & "'" & txtJumpTo & "'"
  1736.     If cmbSortBy.Text = "Color" Then dtaWarning.Recordset.FindFirst "Color >= " & "'" & txtJumpTo & "'"
  1737.     If cmbSortBy.Text = "Make" Then dtaWarning.Recordset.FindFirst "Make >= " & "'" & txtJumpTo & "'"
  1738.     If cmbSortBy.Text = "Model" Then dtaWarning.Recordset.FindFirst "Model >= " & "'" & txtJumpTo & "'"
  1739.  
  1740.     If cmbSortBy.Text = "Model Year" Then dtaWarning.Recordset.FindFirst "Year >= " & "'" & txtJumpTo & "'"
  1741.     If cmbSortBy.Text = "Speeding" Then dtaWarning.Recordset.FindFirst "Speed >= " & txtJumpTo
  1742.     If cmbSortBy.Text = "Speed" Then dtaWarning.Recordset.FindFirst "SpeedFrom >= " & "'" & txtJumpTo & "'"
  1743.     If cmbSortBy.Text = "Speed Limit" Then dtaWarning.Recordset.FindFirst "SpeedIn >= " & "'" & txtJumpTo & "'"
  1744.     If cmbSortBy.Text = "Too Fast for Conditions" Then dtaWarning.Recordset.FindFirst "TooFast >= " & txtJumpTo
  1745.     If cmbSortBy.Text = "Following Too Closely" Then dtaWarning.Recordset.FindFirst "TooClose >= " & txtJumpTo
  1746.     If cmbSortBy.Text = "Improper Lane Usage" Then dtaWarning.Recordset.FindFirst "ImpLane >= " & txtJumpTo
  1747.     If cmbSortBy.Text = "Unsafe Backing" Then dtaWarning.Recordset.FindFirst "UnsBack >= " & txtJumpTo
  1748.     If cmbSortBy.Text = "Illegal U-Turn" Then dtaWarning.Recordset.FindFirst "UTurn >= " & txtJumpTo
  1749.     If cmbSortBy.Text = "Driving Off Roadway" Then dtaWarning.Recordset.FindFirst "OffRoad >= " & txtJumpTo
  1750.     If cmbSortBy.Text = "Driving In Wrong Lane" Then dtaWarning.Recordset.FindFirst "WrongLane >= " & txtJumpTo
  1751.     If cmbSortBy.Text = "Disobeyed Stop Sign" Then dtaWarning.Recordset.FindFirst "StopSign >= " & txtJumpTo
  1752.     If cmbSortBy.Text = "Disobeyed Yield Sign" Then dtaWarning.Recordset.FindFirst "YieldSign >= " & txtJumpTo
  1753.     If cmbSortBy.Text = "Illegal Parking" Then dtaWarning.Recordset.FindFirst "Parking >= " & txtJumpTo
  1754.     If cmbSortBy.Text = "Improper Passing" Then dtaWarning.Recordset.FindFirst "Passing >= " & txtJumpTo
  1755.     If cmbSortBy.Text = "No Seat Belt" Then dtaWarning.Recordset.FindFirst "SeatBelt >= " & txtJumpTo
  1756.     If cmbSortBy.Text = "Fail To Signal" Then dtaWarning.Recordset.FindFirst "Signal >= " & txtJumpTo
  1757.     If cmbSortBy.Text = "Signal Where" Then dtaWarning.Recordset.FindFirst "SigWhere >= " & "'" & txtJumpTo & "'"
  1758.     If cmbSortBy.Text = "No Lights When Required" Then dtaWarning.Recordset.FindFirst "NoLights >= " & txtJumpTo
  1759.     If cmbSortBy.Text = "Failure To Dim Headlights" Then dtaWarning.Recordset.FindFirst "DimLights >= " & txtJumpTo
  1760.     If cmbSortBy.Text = "One Headlight" Then dtaWarning.Recordset.FindFirst "OneHead >= " & txtJumpTo
  1761.     If cmbSortBy.Text = "One Taillight" Then dtaWarning.Recordset.FindFirst "OneTail >= " & txtJumpTo
  1762.     If cmbSortBy.Text = "Broken Taillight" Then dtaWarning.Recordset.FindFirst "BrokeTail >= " & txtJumpTo
  1763.     If cmbSortBy.Text = "No Brake Light" Then dtaWarning.Recordset.FindFirst "NoBrake >= " & txtJumpTo
  1764.     If cmbSortBy.Text = "No Registration Lamp" Then dtaWarning.Recordset.FindFirst "NoRegLight >= " & txtJumpTo
  1765.     If cmbSortBy.Text = "Imp. Display of Plates" Then dtaWarning.Recordset.FindFirst "ImpPlates >= " & txtJumpTo
  1766.     If cmbSortBy.Text = "Obstructed Lic Plate" Then dtaWarning.Recordset.FindFirst "ObsPlate >= " & txtJumpTo
  1767.     If cmbSortBy.Text = "Expired License" Then dtaWarning.Recordset.FindFirst "ExpLicense >= " & txtJumpTo
  1768.     If cmbSortBy.Text = "Permit/Decal Violation" Then dtaWarning.Recordset.FindFirst "PermitVio >= " & txtJumpTo
  1769.     If cmbSortBy.Text = "No Valid Registration" Then dtaWarning.Recordset.FindFirst "NoReg >= " & txtJumpTo
  1770.     If cmbSortBy.Text = "No D.L. On Person" Then dtaWarning.Recordset.FindFirst "NoDL >= " & txtJumpTo
  1771.     If cmbSortBy.Text = "Unsafe Equipment" Then dtaWarning.Recordset.FindFirst "Unsafe >= " & txtJumpTo
  1772.     If cmbSortBy.Text = "Altered Suspension" Then dtaWarning.Recordset.FindFirst "Altered >= " & txtJumpTo
  1773.     If cmbSortBy.Text = "Unsafe Tire" Then dtaWarning.Recordset.FindFirst "UnsafeTire >= " & txtJumpTo
  1774.     If cmbSortBy.Text = "Defective Exhaust System" Then dtaWarning.Recordset.FindFirst "BadExhaust >= " & txtJumpTo
  1775.     If cmbSortBy.Text = "Bicycle Violation" Then dtaWarning.Recordset.FindFirst "Bicycle >= " & txtJumpTo
  1776.     If cmbSortBy.Text = "Animal Violation" Then dtaWarning.Recordset.FindFirst "Animal >= " & txtJumpTo
  1777.     If cmbSortBy.Text = "Junk Violation" Then dtaWarning.Recordset.FindFirst "Junk >= " & txtJumpTo
  1778.     If cmbSortBy.Text = "Fire Hazard" Then dtaWarning.Recordset.FindFirst "Fire >= " & txtJumpTo
  1779.     If cmbSortBy.Text = "Road Hazard" Then dtaWarning.Recordset.FindFirst "RoadHaz >= " & txtJumpTo
  1780.     If cmbSortBy.Text = "Health Hazard" Then dtaWarning.Recordset.FindFirst "HealthHaz >= " & txtJumpTo
  1781.     If cmbSortBy.Text = "Soliciting W/O Permit" Then dtaWarning.Recordset.FindFirst "Soliciting >= " & txtJumpTo
  1782.     If cmbSortBy.Text = "Snow Removal" Then dtaWarning.Recordset.FindFirst "Snow >= " & txtJumpTo
  1783.     If cmbSortBy.Text = "Other 1" Then dtaWarning.Recordset.FindFirst "Other1 >= " & txtJumpTo
  1784.     If cmbSortBy.Text = "Other 1 Text" Then dtaWarning.Recordset.FindFirst "Other1Txt >= " & "'" & txtJumpTo & "'"
  1785.     If cmbSortBy.Text = "Other 2" Then dtaWarning.Recordset.FindFirst "Other2 >= " & txtJumpTo
  1786.     If cmbSortBy.Text = "Other 2 Text" Then dtaWarning.Recordset.FindFirst "Other2Txt >= " & "'" & txtJumpTo & "'"
  1787.  
  1788.     If cmbSortBy.Text = "Repair By Days" Then dtaWarning.Recordset.FindFirst "DaysToFix >= " & "'" & txtJumpTo & "'"
  1789.     If cmbSortBy.Text = "Officer ID" Then dtaWarning.Recordset.FindFirst "OfficerID >= " & "'" & txtJumpTo & "'"
  1790.     If cmbSortBy.Text = "Officer Name" Then dtaWarning.Recordset.FindFirst "Name >= " & "'" & txtJumpTo & "'"
  1791. End Sub
  1792.  
  1793. Sub cmdNew_Click ()
  1794.     Call Editing
  1795.     Call ClrPerson
  1796.     dtaWarning.Recordset.AddNew
  1797.     txtDateTime.SetFocus
  1798. End Sub
  1799.  
  1800. Sub cmdSave_Click ()
  1801.   On Error GoTo CheckLenErr
  1802.   If txtNum <> "" And txtID <> "" And txtOffID <> "" Then
  1803.     If MsgBox("Commit Changes?", MSGBOX_TYPE) = YES Then
  1804.         If dtaWarning.EditMode = EM_ADDNEW Then
  1805.             dtaWarning.Recordset.Update
  1806.             dtaWarning.Recordset.MoveLast
  1807.             CurrRec = dtaWarning.Recordset!warningnum
  1808.             dtaWarning.Refresh
  1809.             dtaWarning.Recordset.FindFirst "WarningNum = '" & CurrRec & "'"
  1810.         Else
  1811.             dtaWarning.Recordset.Update
  1812.             CurrRec = dtaWarning.Recordset!warningnum
  1813.             dtaWarning.Refresh
  1814.             dtaWarning.Recordset.FindFirst "WarningNum = '" & CurrRec & "'"
  1815.         End If
  1816.         Call NoChangeState
  1817.     End If
  1818.   Else
  1819.     MsgBox "Warning Number,Person, and Officer must have a value"
  1820.   End If
  1821.   Exit Sub
  1822. CheckLenErr:
  1823.     Select Case Err
  1824.         Case 3163
  1825.             MsgBox "A value is too long, fix or cancel save"
  1826.             Exit Sub
  1827.         Case 3164
  1828.             MsgBox "This record has been deleted by another user"
  1829.             dtaWarning.Refresh
  1830.             If dtaWarning.Recordset.EOF Then
  1831.                 MsgBox "There are no tickets entered, you may add one now."
  1832.                 cmdNew.Value = True
  1833.             Else
  1834.                 Call NoChangeState
  1835.             End If
  1836.             Exit Sub
  1837.         Case Else
  1838.             MsgBox "Unexpected Error " & Str(Err) & " " & Error
  1839.             Exit Sub
  1840.     End Select
  1841.     Resume
  1842. End Sub
  1843.  
  1844. Sub dtaWarning_Reposition ()
  1845.     Dim Idx As Integer
  1846.     If (Not Starting) And (dtaWarning.EditMode <> EM_ADDNEW) Then
  1847.         If Not dtaWarning.Recordset.EOF Then
  1848.             dtaPerson.Refresh
  1849.             dtaPerson.Recordset.FindFirst "ID = " & dtaWarning.Recordset!ID
  1850.             Set OffTable = Db.CreateDynaset("Officer")
  1851.             OffTable.FindFirst "OffID = " & "'" & dtaWarning.Recordset!OffID & "'"
  1852.             cmbPerson.Text = GetPersonStr(dtaPerson.Recordset)
  1853.             cmbOfficer.Text = GetOffStr()
  1854.             LastNum = dtaWarning.Recordset!warningnum
  1855.         Else
  1856.             Call ClrPerson
  1857.             LastNum = ""
  1858.         End If
  1859.         If txtComm = "" Then
  1860.             cmdComm.Caption = "Add Co&mment"
  1861.         Else
  1862.             cmdComm.Caption = "Edit Co&mment"
  1863.         End If
  1864.         lblPage2.Caption = "Page &2"
  1865.         lblPage1.Caption = "Page &1"
  1866.         If picPage1.Visible = True Then
  1867.             For Idx = 121 To 140
  1868.                 If chkVio(Idx).Value = True Then
  1869.                     lblPage2.Caption = "*Page &2"
  1870.                     Exit For
  1871.                 End If
  1872.             Next Idx
  1873.         Else
  1874.             For Idx = 100 To 120
  1875.                 If chkVio(Idx).Value = True Then
  1876.                     lblPage1.Caption = "*Page &1"
  1877.                     Exit For
  1878.                 End If
  1879.             Next Idx
  1880.         End If
  1881.     End If
  1882. End Sub
  1883.  
  1884. Sub dtaWarning_Validate (Action As Integer, Save As Integer)
  1885.     Select Case Action
  1886.         Case 1 ' First
  1887.         Case 2 ' Previous
  1888.         Case 3 ' Next
  1889.         Case 4 ' Last
  1890.         Case 5 ' AddNew
  1891.         Save = False ' Necessary for canceling an add
  1892.         Case 6 ' Update
  1893.         Case 7 ' Delete
  1894.         If MsgBox("Delete Record?", MSGBOX_TYPE) <> YES Then Action = 0
  1895.         Case 8 ' Find
  1896.         Save = False
  1897.         Case 9 ' Set Bookmark
  1898.         Case 10 ' Close
  1899.         Case 11 ' Unload Form
  1900.         If (dtaWarning.Enabled = False) Then
  1901.             If MsgBox("Commit Changes?", MSGBOX_TYPE) = YES Then
  1902.                 If Not (txtNum <> "" And txtID <> "" And txtOffID <> "") Then
  1903.                     MsgBox "Warning Number,Person, and Officer must have a value"
  1904.                     Action = 0
  1905.                 End If
  1906.             Else
  1907.                 dtaPerson.Refresh
  1908.                 Save = False
  1909.             End If
  1910.         End If
  1911.     End Select
  1912. End Sub
  1913.  
  1914. Sub Editing ()
  1915.     If dtaWarning.Enabled = True Then
  1916.         dtaWarning.Enabled = False
  1917.         cmdNew.Enabled = False
  1918.         cmdDelete.Enabled = False
  1919.         cmdSave.Enabled = True
  1920.         cmdCancel.Enabled = True
  1921.         mnuNew.Enabled = False
  1922.         mnuDelete.Enabled = False
  1923.         mnuSave.Enabled = True
  1924.         mnuCancel.Enabled = True
  1925.         cmbSortBy.Enabled = False
  1926.         lblSortBy.ForeColor = &H808080
  1927.         cmdJumpTo.Enabled = False
  1928.         txtJumpTo.Enabled = False
  1929.     End If
  1930. End Sub
  1931.  
  1932. Sub Form_Activate ()
  1933.     If Starting Then
  1934.         Starting = False
  1935.         Set Db = OpenDatabase("VBWARN.MDB")
  1936.         Set OffTable = Db.CreateDynaset("Officer")
  1937.         Set PerTable = Db.CreateDynaset("Person")
  1938.         Call RedocmbPerson
  1939.         Call RedoCmbOff
  1940.         dtaWarning.RecordSource = QTikPerson & " ORDER BY Tik.DateTime DESC"
  1941.         cmbSortBy.Text = "Date/Time Descending"
  1942.         dtaWarning.Refresh
  1943.         If dtaWarning.Recordset.EOF Then
  1944.             MsgBox "There are no tickets entered, you may add one now."
  1945.             cmdNew.Value = True
  1946.         Else
  1947.             Call NoChangeState
  1948.         End If
  1949.     End If
  1950. End Sub
  1951.  
  1952. Sub Form_Load ()
  1953.     NL = (Chr(13) + Chr(10))
  1954.     Starting = True
  1955.     cmbSortBy.Clear
  1956.     cmbSortBy.AddItem "Date/Time Descending"
  1957.     cmbSortBy.AddItem "Ticket Number"
  1958.     cmbSortBy.AddItem "Last Name"
  1959.     cmbSortBy.AddItem "First Name"
  1960.     cmbSortBy.AddItem "Address"
  1961.     cmbSortBy.AddItem "City"
  1962.     cmbSortBy.AddItem "State"
  1963.     cmbSortBy.AddItem "Zip Code"
  1964.     cmbSortBy.AddItem "DL Number"
  1965.     cmbSortBy.AddItem "DL State"
  1966.     cmbSortBy.AddItem "DL Type"
  1967.     cmbSortBy.AddItem "Date Of Birth"
  1968.     cmbSortBy.AddItem "Height"
  1969.     cmbSortBy.AddItem "Weight"
  1970.     cmbSortBy.AddItem "Hair Color"
  1971.     cmbSortBy.AddItem "Eye Color"
  1972.     cmbSortBy.AddItem "Sex"
  1973.     cmbSortBy.AddItem "Plate"
  1974.     cmbSortBy.AddItem "Plate State"
  1975.     cmbSortBy.AddItem "Color"
  1976.     cmbSortBy.AddItem "Make"
  1977.     cmbSortBy.AddItem "Model"
  1978.     cmbSortBy.AddItem "Model Year"
  1979.     cmbSortBy.AddItem "Speeding"
  1980.     cmbSortBy.AddItem "Speed"
  1981.     cmbSortBy.AddItem "Speed Limit"
  1982.     cmbSortBy.AddItem "Too Fast for Conditions"
  1983.     cmbSortBy.AddItem "Following Too Closely"
  1984.     cmbSortBy.AddItem "Improper Lane Usage"
  1985.     cmbSortBy.AddItem "Unsafe Backing"
  1986.     cmbSortBy.AddItem "Illegal U-Turn"
  1987.     cmbSortBy.AddItem "Driving Off Roadway"
  1988.     cmbSortBy.AddItem "Driving In Wrong Lane"
  1989.     cmbSortBy.AddItem "Disobeyed Stop Sign"
  1990.     cmbSortBy.AddItem "Disobeyed Yield Sign"
  1991.     cmbSortBy.AddItem "Illegal Parking"
  1992.     cmbSortBy.AddItem "Improper Passing"
  1993.     cmbSortBy.AddItem "No Seat Belt"
  1994.     cmbSortBy.AddItem "Fail To Signal"
  1995.     cmbSortBy.AddItem "Signal Where"
  1996.     cmbSortBy.AddItem "No Lights When Required"
  1997.     cmbSortBy.AddItem "One Headlight"
  1998.     cmbSortBy.AddItem "One Taillight"
  1999.     cmbSortBy.AddItem "Broken Taillight"
  2000.     cmbSortBy.AddItem "No Brake Light"
  2001.     cmbSortBy.AddItem "No Registration Lamp"
  2002.     cmbSortBy.AddItem "Imp. Display of Plates"
  2003.     cmbSortBy.AddItem "Obstructed Lic Plate"
  2004.     cmbSortBy.AddItem "Expired License"
  2005.     cmbSortBy.AddItem "Permit/Decal Violation"
  2006.     cmbSortBy.AddItem "No Valid Registration"
  2007.     cmbSortBy.AddItem "No D.L. On Person"
  2008.     cmbSortBy.AddItem "Unsafe Equipment"
  2009.     cmbSortBy.AddItem "Altered Suspension"
  2010.     cmbSortBy.AddItem "Unsafe Tire"
  2011.     cmbSortBy.AddItem "Defective Exhaust System"
  2012.     cmbSortBy.AddItem "Bicycle Violation"
  2013.     cmbSortBy.AddItem "Animal Violation"
  2014.     cmbSortBy.AddItem "Junk Violation"
  2015.     cmbSortBy.AddItem "Fire Hazard"
  2016.     cmbSortBy.AddItem "Road Hazard"
  2017.     cmbSortBy.AddItem "Health Hazard"
  2018.     cmbSortBy.AddItem "Soliciting W/O Permit"
  2019.     cmbSortBy.AddItem "Snow Removal"
  2020.     cmbSortBy.AddItem "Other 1"
  2021.     cmbSortBy.AddItem "Other 1 Text"
  2022.     cmbSortBy.AddItem "Other 2"
  2023.     cmbSortBy.AddItem "Other 2 Text"
  2024.     cmbSortBy.AddItem "Repair By Days"
  2025.     cmbSortBy.AddItem "Officer ID"
  2026.     cmbSortBy.AddItem "Officer Name"
  2027. End Sub
  2028.  
  2029. Function GetOffStr ()
  2030.     Dim Namex As String
  2031.     Namex = ""
  2032.     If Not OffTable.EOF Then
  2033.         Namex = Trim$(OffTable("Name"))
  2034.         GetOffStr = Namex & " - " & Trim$(OffTable("OffID"))
  2035.     End If
  2036. End Function
  2037.  
  2038. Function GetPersonStr (FileSrc As Dynaset)
  2039.     Dim Namex As String
  2040.     Namex = ""
  2041.     If Not FileSrc.EOF Then
  2042.         Namex = Trim$(FileSrc("LName"))
  2043.         Namex = Namex & ", " & Trim$(FileSrc("FName"))
  2044.         If Not IsNull(FileSrc("Initial")) Then
  2045.             Namex = Namex & ", " & Trim$(FileSrc("Initial"))
  2046.         End If
  2047.         GetPersonStr = Namex & " - " & FileSrc("ID")
  2048.     End If
  2049. End Function
  2050.  
  2051. Sub lblPage1_Click ()
  2052.     Dim Idx As Integer
  2053.     picTabs.Picture = imgPage1.Picture
  2054.     picPage2.Visible = False
  2055.     picPage1.Visible = True
  2056.     chkVio(100).SetFocus
  2057.     lblPage1.Caption = "Page &1"
  2058.     lblPage2.Caption = "Page &2"
  2059.     For Idx = 121 To 140
  2060.         If chkVio(Idx).Value = True Then
  2061.             lblPage2.Caption = "*Page &2"
  2062.             Exit For
  2063.         End If
  2064.     Next Idx
  2065. End Sub
  2066.  
  2067. Sub lblPage2_Click ()
  2068.     Dim Idx As Integer
  2069.     picTabs.Picture = imgPage2.Picture
  2070.     picPage2.Visible = True
  2071.     picPage1.Visible = False
  2072.     chkVio(121).SetFocus
  2073.     lblPage1.Caption = "Page &1"
  2074.     lblPage2.Caption = "Page &2"
  2075.     For Idx = 100 To 120
  2076.         If chkVio(Idx).Value = True Then
  2077.             lblPage1.Caption = "*Page &1"
  2078.             Exit For
  2079.         End If
  2080.     Next Idx
  2081. End Sub
  2082.  
  2083. Sub mnuAbout_Click ()
  2084.     Dim Cap1, Cap2, Cap3, Cap4, Cap5, Cap6, Cap7, Cap8 As String
  2085.     Cap1 = "This Warning Ticket System allows entry and modification of warning tickets which have been issued by the police unit. "
  2086.     Cap2 = "These tickets may be retrieved easily and the information relayed to an officer to help when making a decision "
  2087.     Cap3 = "regarding whether to issue a warning or a ticket to a violator, based on their previous history. It can also be used "
  2088.     Cap4 = "to access historical data regarding types of tickets issued, time and date analysis, frequent violators, ticketing "
  2089.     Cap5 = "trends by officers, etc."
  2090.     Cap6 = "I am available for custom off site programming by the job or by the hour. You can reach me by EMail at Matth20005@aol.com,"
  2091.     Cap7 = "or at Compuserve at 73134,610, or by phone at 309-937-2680."
  2092.     Cap8 = "Thanks. Matthew Brown"
  2093.     frmAbout!lblAbout.Caption = Cap1 & NL & NL & Cap2 & Cap3 & Cap4 & Cap5 & NL & NL & Cap6 & Cap7 & NL & NL & Cap8
  2094.     frmAbout.Show 1
  2095. End Sub
  2096.  
  2097. Sub mnuDelete_Click ()
  2098.     cmdDelete.Value = True
  2099. End Sub
  2100.  
  2101. Sub mnuExit_Click ()
  2102.     End
  2103. End Sub
  2104.  
  2105. Sub mnuNew_Click ()
  2106.     cmdNew.Value = True
  2107. End Sub
  2108.  
  2109. Sub mnuNewPerson_Click ()
  2110.     cmbNewPerson.Value = True
  2111. End Sub
  2112.  
  2113. Sub mnuOfficers_Click ()
  2114.     frmOff.Show 1
  2115.     Call RedoCmbOff
  2116.     Set OffTable = Db.CreateDynaset("Officer")
  2117.     If Not IsNull(dtaWarning.Recordset!OffID) Then
  2118.         OffTable.FindFirst "OffID = " & "'" & dtaWarning.Recordset!OffID & "'"
  2119.         If Not OffTable.NoMatch Then cmbOfficer.Text = GetOffStr()
  2120.     End If
  2121. End Sub
  2122.  
  2123. Sub mnuPage1_Click ()
  2124.    Call lblPage1_Click
  2125. End Sub
  2126.  
  2127. Sub mnuPage2_Click ()
  2128.     lblPage2_Click
  2129. End Sub
  2130.  
  2131. Sub mnuPersons_Click ()
  2132.     frmPer.Show 1
  2133.     Call RedocmbPerson
  2134.     dtaPerson.Refresh
  2135.     If Not IsNull(dtaWarning.Recordset!ID) Then
  2136.         dtaPerson.Recordset.FindFirst "ID = " & dtaWarning.Recordset!ID
  2137.         If Not dtaPerson.Recordset.NoMatch Then cmbPerson.Text = GetPersonStr(dtaPerson.Recordset)
  2138.     Else
  2139.         Call ClrPerson
  2140.     End If
  2141. End Sub
  2142.  
  2143. Sub mnuSave_Click ()
  2144.     cmdSave.Value = True
  2145. End Sub
  2146.  
  2147. Sub NoChangeState ()
  2148.     dtaWarning.Enabled = True
  2149.     cmdNew.Enabled = True
  2150.     cmdDelete.Enabled = True
  2151.     cmdSave.Enabled = False
  2152.     cmdCancel.Enabled = False
  2153.     mnuNew.Enabled = True
  2154.     mnuDelete.Enabled = True
  2155.     mnuSave.Enabled = False
  2156.     mnuCancel.Enabled = False
  2157.     cmbSortBy.Enabled = True
  2158.     lblSortBy.ForeColor = &H80000008
  2159.     cmdJumpTo.Enabled = True
  2160.     txtJumpTo.Enabled = True
  2161.     txtDateTime.SetFocus
  2162. End Sub
  2163.  
  2164. Sub Other1Txt_KeyPress (KeyAscii As Integer)
  2165.     Call Editing
  2166. End Sub
  2167.  
  2168. Sub RedoCmbOff ()
  2169.   Set OffTable = Db.CreateDynaset("OFFICER")
  2170.   If Not OffTable.EOF Then
  2171.     cmbOfficer.Clear
  2172.     OffTable.MoveFirst
  2173.     While Not OffTable.EOF
  2174.         cmbOfficer.AddItem GetOffStr()
  2175.         OffTable.MoveNext
  2176.     Wend
  2177.   End If
  2178. End Sub
  2179.  
  2180. Sub RedocmbPerson ()
  2181.   Set PerTable = Db.CreateDynaset("Person")
  2182.   If Not PerTable.EOF Then
  2183.     cmbPerson.Clear
  2184.     PerTable.MoveFirst
  2185.     While Not PerTable.EOF
  2186.         cmbPerson.AddItem GetPersonStr(PerTable)
  2187.         PerTable.MoveNext
  2188.     Wend
  2189.   End If
  2190. End Sub
  2191.  
  2192. Sub txtColor_KeyPress (KeyAscii As Integer)
  2193.     Call Editing
  2194. End Sub
  2195.  
  2196. Sub txtDateTime_KeyPress (KeyAscii As Integer)
  2197.     Call Editing
  2198. End Sub
  2199.  
  2200. Sub txtDateTime_LostFocus ()
  2201.     If (Not IsDate(txtDateTime.Text)) And (txtDateTime <> "") Then
  2202.         MsgBox ("Enter a valid date")
  2203.         txtDateTime.SetFocus
  2204.     End If
  2205. End Sub
  2206.  
  2207. Sub txtDaysToFix_KeyPress (KeyAscii As Integer)
  2208.     Call Editing
  2209. End Sub
  2210.  
  2211. Sub txtDoPg1_GotFocus ()
  2212.     lblPage1_Click
  2213. End Sub
  2214.  
  2215. Sub txtDoPg2_GotFocus ()
  2216.     lblPage2_Click
  2217. End Sub
  2218.  
  2219. Sub txtLocation_KeyPress (KeyAscii As Integer)
  2220.     Call Editing
  2221. End Sub
  2222.  
  2223. Sub txtMake_KeyPress (KeyAscii As Integer)
  2224.     Call Editing
  2225. End Sub
  2226.  
  2227. Sub txtModel_KeyPress (KeyAscii As Integer)
  2228.     Call Editing
  2229. End Sub
  2230.  
  2231. Sub txtNum_KeyPress (KeyAscii As Integer)
  2232.     Call Editing
  2233. End Sub
  2234.  
  2235. Sub txtNum_LostFocus ()
  2236.   ' autofind code
  2237.   If txtNum.Text <> LastNum Then
  2238.     Dim DBClone As Dynaset
  2239.     Set DBClone = dtaWarning.Recordset.Clone()
  2240.     DBClone.FindFirst "WarningNum = '" & txtNum & "'"
  2241.     If Not DBClone.NoMatch Then
  2242.         If MsgBox("Display ticket and lose any changes?", MSGBOX_TYPE) <> YES Then
  2243.             If Not IsNull(dtaWarning.Recordset!warningnum) Then txtNum = dtaWarning.Recordset!warningnum
  2244.         Else
  2245.             dtaWarning.Recordset.FindFirst "WarningNum = '" & txtNum & "'"
  2246.             Call NoChangeState
  2247.         End If
  2248.     End If
  2249.   End If
  2250. End Sub
  2251.  
  2252. Sub txtOther2Txt_KeyPress (KeyAscii As Integer)
  2253.     Call Editing
  2254. End Sub
  2255.  
  2256. Sub txtPlate_KeyPress (KeyAscii As Integer)
  2257.     If (KeyAscii >= Asc("a")) And (KeyAscii <= Asc("z")) Then KeyAscii = KeyAscii - 32
  2258.     Call Editing
  2259. End Sub
  2260.  
  2261. Sub txtPlateSt_KeyPress (KeyAscii As Integer)
  2262.     If (KeyAscii >= Asc("a")) And (KeyAscii <= Asc("z")) Then KeyAscii = KeyAscii - 32
  2263.     Call Editing
  2264. End Sub
  2265.  
  2266. Sub txtSigWhere_KeyPress (KeyAscii As Integer)
  2267.     Call Editing
  2268. End Sub
  2269.  
  2270. Sub txtSpeedFrom_KeyPress (KeyAscii As Integer)
  2271.     Call Editing
  2272. End Sub
  2273.  
  2274. Sub txtSpeedIn_KeyPress (KeyAscii As Integer)
  2275.     Call Editing
  2276. End Sub
  2277.  
  2278. Sub txtYear_KeyPress (KeyAscii As Integer)
  2279.     Call Editing
  2280. End Sub
  2281.  
  2282.